QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

Push (`push')

A push is an effect where one source image replaces another, with both sources moving at the same time. For example, source A would typically occupy the entire screen, and then source B would slide in from the left, right, top, or bottom, while source A slides out in the opposite direction at the same time.

Example:

The push effect takes a maximum of two sources and has two parameters.

Parameters

Name

Code

Type

Description

Percentage

`pcnt'

Fixed

This parameter is a tween. QuickTime will render the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. If the tween goes from 0 to 100, the effect renders completely. If the tween goes from 25 to 75, for example, rendering begins 25% into the effect and terminates 75% through the effect.

From Direction

`from'

Enum

Contains the direction from which source B will replace source A

From Direction Enum

The From Direction parameter can contain the following values:

  1. Top
  2. Right
  3. Bottom
  4. Left

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |